package com.example.elmspringboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elmspringboot.domain.Orders;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService extends IService<Orders> {
    IPage<Orders> getPage(int currentPage, int pageSize);
//    Java8以后可以在接口实现默认方法，加default，然后百度
    Integer insertDetails(Orders order);
    List<Orders> getBusinessOrders(Integer shopId);
}
